package com.vijay.exam;


import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * Ques entity. @author MyEclipse Persistence Tools
 */

public class Ques implements java.io.Serializable {

	// Fields

	private BigDecimal qid;
	private String qdesc;
	private String objsubj;
	private BigDecimal qno;
	private BigDecimal qlevel;
	private Set papers = new HashSet(0);

	// Constructors

	/** default constructor */
	public Ques() {
	}

	/** minimal constructor */
	public Ques(BigDecimal qid, String objsubj, BigDecimal qno) {
		this.qid = qid;
		this.objsubj = objsubj;
		this.qno = qno;
	}

	/** full constructor */
	public Ques(BigDecimal qid, String qdesc, String objsubj, BigDecimal qno,
			BigDecimal qlevel, Set papers) {
		this.qid = qid;
		this.qdesc = qdesc;
		this.objsubj = objsubj;
		this.qno = qno;
		this.qlevel = qlevel;
		this.papers = papers;
	}

	// Property accessors

	public BigDecimal getQid() {
		return this.qid;
	}

	public void setQid(BigDecimal qid) {
		this.qid = qid;
	}

	public String getQdesc() {
		return this.qdesc;
	}

	public void setQdesc(String qdesc) {
		this.qdesc = qdesc;
	}

	public String getObjsubj() {
		return this.objsubj;
	}

	public void setObjsubj(String objsubj) {
		this.objsubj = objsubj;
	}

	public BigDecimal getQno() {
		return this.qno;
	}

	public void setQno(BigDecimal qno) {
		this.qno = qno;
	}

	public BigDecimal getQlevel() {
		return this.qlevel;
	}

	public void setQlevel(BigDecimal qlevel) {
		this.qlevel = qlevel;
	}

	public Set getPapers() {
		return this.papers;
	}

	public void setPapers(Set papers) {
		this.papers = papers;
	}

}